package hm;

import java.math.BigDecimal;

public class Test {
    public static void main(String[] args) {
        //String a = null;
        //if("1".equals(a)){
        //    System.out.println("you are pig");
        //}else{
        //    System.out.println("You are monkey");
        //}
        Animal animal = new Animal();
        String name = animal.getName();
        System.out.println(name);

        //BigDecimal bigDecimal = new BigDecimal(null);

        for (int i = 0; i < 10; i++) {
            Animal a = new Animal();
        }
    }
}

class Animal{
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}